<template>
  <div class="school">
      <h2>{{msg}}</h2>
      <h2 @click="showName">学生姓名：{{name}}</h2>
      <h2>学生性别：{{sex}}</h2>

  </div>
</template>

<script>
//因为是分别暴露则
// import {hunhe, mixin} from "@/mixin";


export default {

  // eslint-disable-next-line vue/multi-word-component-names
  name: "Student",
  data(){
    return{
      msg:'我是聪明人',
      sex:'男',
      name:'张三'
    }
  },

  mounted() {
    console.log('你好啊！！！！')
  },
  // //复用配置  // 局部混合
  // mixins:[mixin,hunhe],






}
</script>

<style scoped>
    .school{
      background-color: skyblue;
    }
</style>